package com.example.service.impl;

import com.example.bean.UserInfoBean;
import com.example.dao.UserInfoBeanMapper;
import com.example.service.IUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("userService")
public class UserServiceImpl implements IUserService {
    // 依赖注入dao层
    @Resource
    private UserInfoBeanMapper userInfoBeanMapper;

    @Override
    public List<UserInfoBean> queryForLogin(UserInfoBean record) {
        return userInfoBeanMapper.queryForLogin(record);
    }
}
